package com.hksj.Intelligentmanagement.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @ClassName LoginUserEntity
 * @Description TODO
 * @Author @陈章
 * @Date 2023/3/4 9:42
 * @Version 1.0
 */
@Data
public class LoginDTO {

    @ApiModelProperty(value = "用户名",required = true)
    @NotBlank(message = "姓名不能为空")
    private String username;

    @ApiModelProperty(value ="密码",required = true)
    @NotBlank(message = "密码不能为空")
    private String password;
}
